
module.exports = {
  lintOnSave: false,  // 如果为false，就是取消eslint规则的检查
  publicPath: './',
  assetsDir: 'static',
  productionSourceMap: false,
  devServer: {
      host:'localhost',
      port:'8020',
      proxy: {
          '/area-api': {
              // 测试
              target: 'http://jyg.test.luyiwangluo.com/api/admin',
              // 正式
              // target: '',
              changeOrigin: true,
              pathRewrite: {
                  '^/area-api': ''
              } 
          }
      }
  }
}